// uart

void initUART(void);   //initiate the UART
char getRndChar(void); //generate random char
char* getChar(void);   //retrieves char - not working
void putChar(char text); //put char in the hyper terminal
void print(char* text);  //print a string of char
void println(char* text); //print a string of char beginning with \n
void clearScreen(void);   //clear screen


// keypad
void initKeypad(void);   //initalize the keypad
void debounce(void);    //set TIMERA to wait for 40ms
void keyScan(void);     //scan the key
int keyLookup(void);    //interpret the key as a value
void waitForRelease(void); //wait until release

// main
char getASCIIfromINT(int val); //transforms an int into ascii
void gridGen(void);            //generates the grid
void randGrid(void);           //randomize the grid
char getRndChar(void);         //retrieve the char
int compare(int a, int b, int c, int d);
void printGrid(void);
void userInput(int inputNum);
